package com.stylefeng.guns.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;

import java.io.Serializable;

public class Flowers extends Model<Flowers> {

    //主键id
    private Integer id;

    //花卉名称
    private String name;

    //花卉颜色
    private String color;

    //花卉图片
    private String image;

    //花卉价格
    private Integer price;

    //创建时间
    private String creattime;

    //花卉类型
    private Integer fid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getCreatTime() {
        return creattime;
    }

    public void setCreatTime(String creatTime) {
        this.creattime = creattime;
    }

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    @Override
    public String toString() {
        return "Flowers{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", color='" + color + '\'' +
                ", image='" + image + '\'' +
                ", price=" + price +
                ", creattime='" + creattime + '\'' +
                ", fid=" + fid +
                '}';
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
